package com.groupseven.backend.domain;

import com.groupseven.backend.domain.Assessment.AssessmentPlan;
import com.groupseven.backend.domain.Assessment.AssessmentResult;
import com.groupseven.backend.domain.Log.OperationLog;
import com.groupseven.backend.domain.Log.SysLog;
import com.groupseven.backend.domain.Menu.MenuItem;
import com.groupseven.backend.domain.Paper.Paper;
import com.groupseven.backend.domain.Patent.Patent;
import com.groupseven.backend.domain.Permission.PermissionItem;
import com.groupseven.backend.domain.PrizeProduct.PrizeProduct;
import com.groupseven.backend.domain.Program.Program;
import com.groupseven.backend.domain.Program.ProgramApplication;
import com.groupseven.backend.domain.Role.Role;
import com.groupseven.backend.domain.Sidebar.MySidebar;
import com.groupseven.backend.domain.Sidebar.SidebarItems;
import com.groupseven.backend.domain.TeacherAduit.TeacherAduitNow;
import com.groupseven.backend.domain.TeacherAduit.TeacherAduitPast;
import com.groupseven.backend.domain.User.User;

import java.util.List;
import java.util.Map;
import java.util.Set;


/**
 * @Author 王志华
 */
public class ResultType {
    public int code;
    public String msg;
    public int status;
    public User user;
    public List<SidebarItems> Sidebar;
    public List<User> users;
    public List<Program> Programs;
    public MySidebar mysidebar;
    public List<Paper> papers;
    public List<ProgramApplication> applications;
    public String token;
    public Set<String> permissions;
    public List<PermissionItem> permissionTree;
    public List<Integer> Permissions;
    public List<Integer> menuList;
    public List<MenuItem> menuTree;
    public List<MenuItem> MyMenu;
    public List<Role> Roles;
    public List<AssessmentPlan> Plans;
    public List<AssessmentResult> AssessmentResult;
    public List<SysDictData> DictData;
    public List<SysDictType> DictType;
    public Patent patent;
    public List<Patent> patents;
    public PrizeProduct prizeProduct;
    public List<PrizeProduct> prizeProducts;
    public Personalmsg personalmsg;
    public Paper paper;
    public List<SysLog>sysLogs;
    public SysLog sysLog;
    public List<OperationLog>operationLogs;
    public OperationLog operationLog;
    public SysDictData sysDictData;
    public SysDictType sysDictType;
    public List<SysDictType> sysDictTypes;
    public List<SysDictData> sysDictDatas;
    public SysDictTypetest sysDictTypetest;
    public List<SysDictTypetest>sysDictTypetestList;
    public Map<String,Object> Dicts;
    public AssessmentResult singleAssessmentResult;
    public List<AssessmentResult> multiAssessmentResult;
    public TeacherAduitNow teacherAduitNow;
    public TeacherAduitPast teacherAduitPast;
    List<TeacherAduitNow>teacherAduitNows;
    List<TeacherAduitPast>teacherAduitPasts;

    public TeacherAduitNow getTeacherAduitNow() {
        return teacherAduitNow;
    }

    public void setTeacherAduitNow(TeacherAduitNow teacherAduitNow) {
        this.teacherAduitNow = teacherAduitNow;
    }

    public TeacherAduitPast getTeacherAduitPast() {
        return teacherAduitPast;
    }

    public void setTeacherAduitPast(TeacherAduitPast teacherAduitPast) {
        this.teacherAduitPast = teacherAduitPast;
    }

    public List<TeacherAduitNow> getTeacherAduitNows() {
        return teacherAduitNows;
    }

    public void setTeacherAduitNows(List<TeacherAduitNow> teacherAduitNows) {
        this.teacherAduitNows = teacherAduitNows;
    }

    public List<TeacherAduitPast> getTeacherAduitPasts() {
        return teacherAduitPasts;
    }

    public void setTeacherAduitPasts(List<TeacherAduitPast> teacherAduitPasts) {
        this.teacherAduitPasts = teacherAduitPasts;
    }

    public com.groupseven.backend.domain.Assessment.AssessmentResult getSingleAssessmentResult() {
        return singleAssessmentResult;
    }

    public void setSingleAssessmentResult(com.groupseven.backend.domain.Assessment.AssessmentResult singleAssessmentResult) {
        this.singleAssessmentResult = singleAssessmentResult;
    }

    public List<com.groupseven.backend.domain.Assessment.AssessmentResult> getMultiAssessmentResult() {
        return multiAssessmentResult;
    }

    public void setMultiAssessmentResult(List<com.groupseven.backend.domain.Assessment.AssessmentResult> multiAssessmentResult) {
        this.multiAssessmentResult = multiAssessmentResult;
    }

    public Map<String, Object> getDicts() {
        return Dicts;
    }

    public void setDicts(Map<String, Object> dicts) {
        Dicts = dicts;
    }

    public Patent getPatent() {
        return patent;
    }

    public void setPatent(Patent patent) {
        this.patent = patent;
    }

    public List<Patent> getPatents() {
        return patents;
    }

    public void setPatents(List<Patent> patents) {
        this.patents = patents;
    }

    public PrizeProduct getPrizeProduct() {
        return prizeProduct;
    }

    public void setPrizeProduct(PrizeProduct prizeProduct) {
        this.prizeProduct = prizeProduct;
    }

    public List<PrizeProduct> getPrizeProducts() {
        return prizeProducts;
    }

    public void setPrizeProducts(List<PrizeProduct> prizeProducts) {
        this.prizeProducts = prizeProducts;
    }

    public Personalmsg getPersonalmsg() {
        return personalmsg;
    }

    public void setPersonalmsg(Personalmsg personalmsg) {
        this.personalmsg = personalmsg;
    }

    public Paper getPaper() {
        return paper;
    }

    public void setPaper(Paper paper) {
        this.paper = paper;
    }

    public SysDictData getSysDictData() {
        return sysDictData;
    }

    public void setSysDictData(SysDictData sysDictData) {
        this.sysDictData = sysDictData;
    }

    public SysDictType getSysDictType() {
        return sysDictType;
    }

    public void setSysDictType(SysDictType sysDictType) {
        this.sysDictType = sysDictType;
    }

    public List<SysDictType> getSysDictTypes() {
        return sysDictTypes;
    }

    public void setSysDictTypes(List<SysDictType> sysDictTypes) {
        this.sysDictTypes = sysDictTypes;
    }

    public List<SysDictData> getSysDictDatas() {
        return sysDictDatas;
    }

    public void setSysDictDatas(List<SysDictData> sysDictDatas) {
        this.sysDictDatas = sysDictDatas;
    }

    public SysDictTypetest getSysDictTypetest() {
        return sysDictTypetest;
    }

    public void setSysDictTypetest(SysDictTypetest sysDictTypetest) {
        this.sysDictTypetest = sysDictTypetest;
    }

    public List<SysDictTypetest> getSysDictTypetestList() {
        return sysDictTypetestList;
    }

    public void setSysDictTypetestList(List<SysDictTypetest> sysDictTypetestList) {
        this.sysDictTypetestList = sysDictTypetestList;
    }

    public List<com.groupseven.backend.domain.Assessment.AssessmentResult> getAssessmentResult() {
        return AssessmentResult;
    }

    public void setAssessmentResult(List<com.groupseven.backend.domain.Assessment.AssessmentResult> assessmentResult) {
        AssessmentResult = assessmentResult;
    }

    public List<SysDictData> getDictData() {
        return DictData;
    }

    public void setDictData(List<SysDictData> dictData) {
        DictData = dictData;
    }

    public List<SysDictType> getDictType() {
        return DictType;
    }

    public void setDictType(List<SysDictType> dictType) {
        DictType = dictType;
    }

    public List<AssessmentPlan> getPlans() {
        return Plans;
    }

    public void setPlans(List<AssessmentPlan> plans) {
        Plans = plans;
    }

    public List<MenuItem> getMyMenu() {
        return MyMenu;
    }

    public void setMyMenu(List<MenuItem> myMenu) {
        MyMenu = myMenu;
    }

    public List<Role> getRoles() {
        return Roles;
    }

    public void setRoles(List<Role> roles) {
        Roles = roles;
    }

    public List<Integer> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<Integer> menuList) {
        this.menuList = menuList;
    }

    public List<MenuItem> getMenuTree() {
        return menuTree;
    }

    public void setMenuTree(List<MenuItem> menuTree) {
        this.menuTree = menuTree;
    }

    public void setPermissions(List<Integer> permissions) {
        Permissions = permissions;
    }

    public Set<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(Set<String> permissions) {
        this.permissions = permissions;
    }

    public List<PermissionItem> getPermissionTree() {
        return permissionTree;
    }

    public void setPermissionTree(List<PermissionItem> permissionTree) {
        this.permissionTree = permissionTree;
    }

    public ResultType(int code, String msg, int status, Set<String> permissions) {
        this.code = code;
        this.msg = msg;
        this.status = status;
        this.permissions = permissions;
    }

    public List<OperationLog> getOperationLogs() {
        return operationLogs;
    }

    public void setOperationLogs(List<OperationLog> operationLogs) {
        this.operationLogs = operationLogs;
    }

    public OperationLog getOperationLog() {
        return operationLog;
    }

    public void setOperationLog(OperationLog operationLog) {
        this.operationLog = operationLog;
    }

    public List<SysLog> getSysLogs() {
        return sysLogs;
    }

    public void setSysLogs(List<SysLog> sysLogs) {
        this.sysLogs = sysLogs;
    }

    public SysLog getSysLog() {
        return sysLog;
    }

    public void setSysLog(SysLog sysLog) {
        this.sysLog = sysLog;
    }

    public ResultType(OperationLog operationLog) {
        this.operationLog = operationLog;
    }



    public ResultType(String msg) {
        this.msg = msg;
    }
    //
    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<ProgramApplication> getApplications() {
        return applications;
    }

    public void setApplications(List<ProgramApplication> applications) {
        this.applications = applications;
    }

    public List<Paper> getPapers() {
        return papers;
    }

    public void setPapers(List<Paper> papers) {
        this.papers = papers;
    }

    public MySidebar getMysidebar() {
        return mysidebar;
    }

    public void setMysidebar(MySidebar mysidebar) {
        this.mysidebar = mysidebar;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<SidebarItems> getSidebar() {
        return Sidebar;
    }

    public void setSidebar(List<SidebarItems> sidebar) {
        Sidebar = sidebar;
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }

    public List<Program> getPrograms() {
        return Programs;
    }

    public void setPrograms(List<Program> programs) {
        Programs = programs;
    }

    public ResultType(int code, String msg, int status) {
        this.code = code;
        this.msg = msg;
        this.status = status;
    }

    public ResultType(int code, String msg, int status, MySidebar mysidebar) {
        this.code = code;
        this.msg = msg;
        this.status = status;
        this.mysidebar = mysidebar;
    }





    public ResultType(int code, String msg, int status, List<SidebarItems> sidebar) {
        this.code = code;
        this.msg = msg;
        this.status = status;
        Sidebar = sidebar;
    }

    public ResultType(int code, String msg, int status, User user) {
        this.code = code;
        this.msg = msg;
        this.status = status;
        this.user = user;
    }

    public ResultType(int code, String msg, int status, List<SidebarItems> sidebar, List<User> users, List<Program> programs, MySidebar mysidebar, List<Paper> papers) {
        this.code = code;
        this.msg = msg;
        this.status = status;
        Sidebar = sidebar;
        this.users = users;
        Programs = programs;
        this.mysidebar = mysidebar;
        this.papers = papers;
    }
    public ResultType(int code, String msg, int status, List<SidebarItems> sidebar, User user, List<User> users, List<Program> programs, MySidebar mysidebar, List<Paper> papers) {
        this.code = code;
        this.msg = msg;
        this.status = status;
        this.user=user;
        Sidebar = sidebar;
        this.users = users;
        Programs = programs;
        this.mysidebar = mysidebar;
        this.papers = papers;
    }
    public ResultType() {
    }

    public ResultType(int code, String msg, int status, User user, List<SidebarItems> sidebar, List<User> users, List<Program> programs, MySidebar mysidebar, List<Paper> papers, List<ProgramApplication> applications) {
        this.code = code;
        this.msg = msg;
        this.status = status;
        this.user = user;
        Sidebar = sidebar;
        this.users = users;
        Programs = programs;
        this.mysidebar = mysidebar;
        this.papers = papers;
        this.applications = applications;
    }

    public ResultType(int code, String msg, int status, String token) {
        this.code = code;
        this.msg = msg;
        this.status = status;
        this.token = token;
    }
}
